package com.yizhuoyan.his.dao;

import com.yizhuoyan.his.entity.HosDepartmentCategoryEntity;

/**
 * (HosDepartmentCategory)表数据库访问层
 *
 * @author yizhuoyan@yizhuoyan.com
 * @since 2020-02-20 15:06:14
 */
public interface HosDepartmentCategoryDao extends TemplateDao<Long,HosDepartmentCategoryEntity>{

    //额外方法


    /**
     * 同过name 来查询科室类别
     * @param name 名称
     * @return 科室类别实体
     * @throws Exception
     */
    HosDepartmentCategoryEntity selectByName(String name)throws Exception;

}